﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace SqlSugarAndEntity.Entity.wxx
{
    ///<summary>
    ///课程表
    ///</summary>
    [SugarTable("courses")]
    public partial class wxx_courses
    {
           public wxx_courses(){


           }
           /// <summary>
           /// Desc:主键Id
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:课程名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Title {get;set;}

           /// <summary>
           /// Desc:课程介绍
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Infos {get;set;}

           /// <summary>
           /// Desc:课程图片地址
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ImagePath {get;set;}

           /// <summary>
           /// Desc:课程排序
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? Orders {get;set;}

           /// <summary>
           /// Desc:是否删除 0为不删除 1为删除
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? IsDelete {get;set;}

           /// <summary>
           /// Desc:是否推荐  0不推荐 1推荐
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? IsRecommend {get;set;}

           /// <summary>
           /// Desc:关键字
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string KeyWords {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateTime {get;set;}

           /// <summary>
           /// Desc:更新时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? UpdateTime {get;set;}

           /// <summary>
           /// Desc:是否发布 0不发布 1发布
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? IsPublish {get;set;}

           /// <summary>
           /// Desc:首字母
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ShortName {get;set;}

           /// <summary>
           /// Desc:0为公司课程 1.为精品课程 2为自建课程
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? TypeId {get;set;}

           /// <summary>
           /// Desc:精品课程url地址
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string JPAddress {get;set;}

           /// <summary>
           /// Desc:自建课程的用户编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? UserId {get;set;}

           /// <summary>
           /// Desc:自建课程分类编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? TagId {get;set;}

           /// <summary>
           /// Desc:临时表自增Id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? AddId {get;set;}

    }
}
